<template>
  <div id="app">
    <transition name="v">
      <router-view class="page" />
    </transition>
  </div>
</template>

<style lang="scss">
* {
  padding: 0;
  margin: 0;
}
#app,
html,
body,
.page {
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  position: relative;
}
.pag {
  position: absolute;
  top: 0;
  left: 0;
}
.v-enter {
  transform: translateX(0);
}
.v-leave-to {
  transform-origin: center;
  transform: translateX(-100%) rotate(180deg) scale(0);
  opacity: 0;
}
.v-enter-active,
.v-leave-active {
  transition: all .5s linear;
}
</style>
